package com.iona.domain;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class PartDisPurview extends BaseEntity {
	@ManyToOne
	@JoinColumn(name = "purview_fk", nullable = false)
	private Purview purview;

	@ManyToOne
	@JoinColumn(name = "partdis_fk", nullable = false)
	private PartDis partDis;

	public Purview getPurview() {
		return purview;
	}

	public void setPurview(Purview purview) {
		this.purview = purview;
	}

	public PartDis getPartDis() {
		return partDis;
	}

	public void setPartDis(PartDis partDis) {
		this.partDis = partDis;
	}
	
	
}
